<template>
  <router-view></router-view>

  <van-loading vertical color="#FF0707" v-if="$store.state.isLoading">
    <template #icon>
      <van-icon name="star-o" size="30" />
    </template>
    加载中...
  </van-loading>
</template>

<script>
export default {
  components: {},

};
</script>

<style scoped>
.van-loading {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
</style>
